import Foundation

class bWyRovmJfLBBekVI: vJzWJMCZSqjXSJwr {
    static let WwJoBsxnOnzHObMj = bWyRovmJfLBBekVI()
    private override init() {}
    
    override func CrMEZAmuFlNMKEGO(
        cpaJcBwQglAKGUbF: String,
        lnPbkmdwNECDwBnh: @escaping (_ mKUIzAxlvBGUVfVk: Bool, _ team: YIMTeam?) throws -> Void
    ) {
        if !fZwNztHkPUvazdeo.kKZHQgqVvWvEzcze.CJpHDPXJovTfKuUn() {
            NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                try? lnPbkmdwNECDwBnh(false, nil)
            }
            return
        }
        NbDnvbpESqnqDInl.ZSgCfzHnxpKhZfxO.etDatGyKwukGrbHv(kEZOdhLcNmJFYywX: "queryTeamInfo", EeqbYNIBaZfkqYaF: [
            "teamID" : cpaJcBwQglAKGUbF,
        ]) { mKUIzAxlvBGUVfVk, EyTIVrNCTVqmYwPu, VnJfdRrzZmdnJmsc, EmqetgaKELbCTYMP in
            if !mKUIzAxlvBGUVfVk {
                NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                    try? lnPbkmdwNECDwBnh(false, nil)
                }
                return
            }
            NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                try? lnPbkmdwNECDwBnh(true, NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.IYMCIgmwfHIBQjIX(EyTIVrNCTVqmYwPu!["team"], YIMTeam.self))
            }
        }
    }
    
    override func gGSycVBbVjFDKkpo(lnPbkmdwNECDwBnh: @escaping (_ SKMldmaokHUJbBJx: [String]?) throws -> Void) {
        NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
            try? lnPbkmdwNECDwBnh(NbDnvbpESqnqDInl.vBnlRsjXyYsjAiyP)
        }
    }
    
    override func zmWZczbIpjUGbXyf(cpaJcBwQglAKGUbF: String, lnPbkmdwNECDwBnh: ((_ mKUIzAxlvBGUVfVk: Bool) throws -> Void)? = nil) {
        NbDnvbpESqnqDInl.ZSgCfzHnxpKhZfxO.etDatGyKwukGrbHv(kEZOdhLcNmJFYywX: "disturb", EeqbYNIBaZfkqYaF: [
            "conversationID" : cpaJcBwQglAKGUbF,
            "conversationType" : YIMEnum_ConversationType.Team.rawValue,
        ]) { mKUIzAxlvBGUVfVk, EyTIVrNCTVqmYwPu, VnJfdRrzZmdnJmsc, EmqetgaKELbCTYMP in
            if !mKUIzAxlvBGUVfVk {
                NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                    try? lnPbkmdwNECDwBnh?(false)
                }
                return
            }
            NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                try? lnPbkmdwNECDwBnh?(true)
            }
        }
    }
    
    override func qdcAyjfHZFHBKUvZ(cpaJcBwQglAKGUbF: String, lnPbkmdwNECDwBnh: ((_ mKUIzAxlvBGUVfVk: Bool) throws -> Void)? = nil) {
        NbDnvbpESqnqDInl.ZSgCfzHnxpKhZfxO.etDatGyKwukGrbHv(kEZOdhLcNmJFYywX: "unDisturb", EeqbYNIBaZfkqYaF: [
            "conversationID" : cpaJcBwQglAKGUbF,
            "conversationType" : YIMEnum_ConversationType.Team.rawValue,
        ]) { mKUIzAxlvBGUVfVk, EyTIVrNCTVqmYwPu, VnJfdRrzZmdnJmsc, EmqetgaKELbCTYMP in
            if !mKUIzAxlvBGUVfVk {
                NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                    try? lnPbkmdwNECDwBnh?(false)
                }
                return
            }
            NbDnvbpESqnqDInl.zYOvKsmnWpOUpLXr.CzkztFjgxzeSorYu {
                try? lnPbkmdwNECDwBnh?(true)
            }
        }
    }
}
